PROJECT(futabaparser)
INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR}
					${CMAKE_SOURCE_DIR}/boardparsers)

SET(futabaparser_sources
	futabaparser.cpp)

SET(futabaparser_headers
	futabaparser.h)

QT4_WRAP_CPP(futabaparser_moc ${futabaparser_headers})

ADD_LIBRARY(futabaparser MODULE ${futabaparser_sources} ${futabaparser_moc})
TARGET_LINK_LIBRARIES(futabaparser ${QT_LIBRARIES} ${spelling_libs} wm)
SET_TARGET_PROPERTIES(futabaparser PROPERTIES LIBRARY_OUTPUT_DIRECTORY ..)

INSTALL(TARGETS futabaparser LIBRARY DESTINATION ${LIBDIR}/plugins/boardparsers)

